<template>
  <div class="box">
    <div class="sea">
        <span @click="fun">←</span>
        <span>搜索</span>
    </div>
    <div class="task">
        <input type="text" placeholder="搜索商家、商品名称">
        <span>搜索</span>
    </div>
    <div class="ls">
        <div>历史搜索</div>
        <span>三文鱼</span>

             
    </div>
    <div class="found">
        <div>搜索发现</div>
        <span>麻辣烫</span>
    </div>
  </div>
</template>

<script>
export default {
    methods: {
        fun() {
            this.$router.go(-1)
        }
    }
}
</script>

<style  scoped>
    .sea{
        font-weight: bold;
        font-size: 30px;
        margin: 20px 20px;
    }
    .sea span{
        margin-left: 10px;
    }
    .task input{
        height: 40px;
        width: 80%;
        flex: 1;
        border-radius: 20px;
        margin-left: 10px;
        padding: 0 15px;
        background-color: rgb(235, 234, 234);
        border:1px solid rgb(255, 255, 255);
    }
    .task span{
        margin-left: 5px;
        font-size: 25px;
        color: rgb(48, 170, 246);
    }
    .ls div{
        font-size: 25px;
        margin: 30px 15px;
        font-weight: bold;
    }
    .ls span{
        padding: 10px 10px;
        line-height: 50px;
        background-color: rgb(225, 224, 224);
        border-radius: 10px;
        margin: 10px 20px;
    }
    .found div{
        font-size: 25px;
        margin: 30px 15px;
        font-weight: bold;
    }
    .found span{
        padding: 10px 10px;
        background-color: rgb(225, 224, 224);
        border-radius: 10px;
        margin-left: 15px;
        line-height: 50px;

    }
</style>>

